package com.learn.shop;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "com.learn.shop")
@Slf4j
@EnableScheduling//开启定时任务
public class EShopApplication {


    public static void main(String[] args) {
        SpringApplication.run(EShopApplication.class, args);
        log.info("服务启动成功!");
    }

}
